import { createStore } from 'redux'
// import { createStore } from '../myRedux'
import reducer from './reducers'
import { applyMiddleware } from 'redux'
import reduxLogger from 'redux-logger'
import { thunk } from 'redux-thunk'
import reduxPromise from 'redux-promise'

const store = createStore(reducer, applyMiddleware(reduxLogger, thunk, reduxPromise))


export default store